
/**
 * @cat Mail
 * @name Renaissance.DodgitInbox
 * @desc Dodgit inbox wrapper
 * @param {String} inbox Dodgit inbox name
 * @return {Object} object
 */
function Renaissance.DodgitInbox(inbox) {
	this.inbox = inbox;
	this.proxy = new Renaissance.YahooPipeRssProxy();
}
/**
 * @cat Mail
 * @name Renaissance.DodgitInbox.prototype.fetch
 * @desc fetch emails from Didgit inbox
 * @param {Function} callback callback function to handle the Dodgit email list
 */
Renaissance.DodgitInbox.prototype.fetch = function (callback) {
	var base = 'http://dodgit.com/run/rss?mailbox=' + escape(this.inbox);
	return this.proxy.proxy(callback, base);
};
